#pragma once
#include "HZ_Struct.h"
#include "Define.h"
using namespace std;
class CJsonAnalysis
{
public:
	CJsonAnalysis();
	~CJsonAnalysis();

public:
	static CJsonAnalysis *m_pWnd;

public:
	void JsonToStruct(DB_DATA DB_Data, HZ_PROJECT_INFO &Pro_Info, vector<Data_Info>	&vDataInfo, vector<LVDING_INFO>	&vLvDingInfo);

	BOOL GetJsData(CString str, HZ_PROJECT_INFO &Pro_Info, vector<Data_Info>	&vDataInfo, vector<LVDING_INFO>	&vLvDingInfo);


public:
	void WriteJson(CString strPath, const HZ_PROJECT_INFO &Pro_Info, const vector<Data_Info> &vDataInfo, const vector<LVDING_INFO> &vLvDingInfo);

};

